Explore US Bikeshare Data

Code Quality

Criteria Meet Specification

Functionality of code

All code cells can be run without error.

Choice of data types and structures

Appropriate data types (e.g. strings, floats) and data structures (e.g. lists, dictionaries) are chosen to carry out the required analysis tasks.

Use of loops and conditional statements

Loops and conditional statements are used to process the data correctly.

Use of packages

Packages are used to carry out advanced tasks.

Use of functions

Functions are used to reduce repetitive code.

Use of good coding practices

Docstrings, comments, and variable names enable readability of the code.

Script and Questions

Criteria Meet Specification

Solicit and handle raw user input

Raw input is solicited and handled correctly to guide the interactive question-answering experience; no errors are thrown when unexpected input is entered.

Use descriptive statistics to answer questions about the data. Raw data is displayed upon request by the user.

Descriptive statistics are correctly computed and used to answer the questions posed about the data. Raw data is displayed upon request by the user in this manner: Script should prompt the user if they want to see 5 lines of raw data, display that data if the answer is 'yes', and continue these prompts and displays until the user says 'no'.

Tips to make your project standout:

  • Change the structure of bikeshare.py to make the code more efficient or in better style.
  • Ask and answer additional questions about the data beyond the questions already provided.
  • Make the interactive experience wow-worthy! Add images, make it into a web app, etc. (If you do create a web app, make sure to include clear directions how to execute it.) Make it your own!